Leadtools.Jpip Requires JPIP module product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ViewWindowFields Constructor(Size,RoundingDirection,Point,Size,Range[],Generic List,Generic List,Generic Nullable,String,Generic Nullable)
See Also 
Leadtools.Jpip Namespace > ViewWindowFields Class > ViewWindowFields Constructor : ViewWindowFields Constructor(Size,RoundingDirection,Point,Size,Range[],Generic List,Generic List,Generic Nullable,String,Generic Nullable)



frameSize
The Size of the requested image resolution size.
roundingDirection
A RoundingDirection value that specifies how to select an available codestream image resolution for each requested codestream.
offset
Identifies the upper left hand corner (offset) of the spatial region associated with the requested view window.
regionSize
Identifies the horizontal and vertical extent (size) of the spatial region associated with the requested view window.
components
Identifies the image components that are to be included in the requested view window.
codeStreamList
Identifies which codestream or codestreams belong to the requested view window.
codestreamContext
Requests codestreams indirectly via "higher level" image entities.
samplingRate
Specifies the sampling rate of the requested codestreams.
roi
Specifies the desired spatial region of the image through a name rather than through coordinates.
layers
Restricts the number of codestream quality layers that belong to the view-window request.
Initializes a new instance of the ViewWindowFields class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal frameSize As Size, _
   ByVal roundingDirection As RoundingDirection, _
   ByVal offset As Point, _
   ByVal regionSize As Size, _
   ByVal components() As Range, _
   ByVal codeStreamList As List(Of SampleRange), _
   ByVal codestreamContext As List(Of ContextRange), _
   ByVal samplingRate As Nullable(Of Single), _
   ByVal roi As String, _
   ByVal layers As Nullable(Of Integer) _
)
Visual Basic (Usage)Copy Code
Dim frameSize As Size
Dim roundingDirection As RoundingDirection
Dim offset As Point
Dim regionSize As Size
Dim components() As Range
Dim codeStreamList As List(Of SampleRange)
Dim codestreamContext As List(Of ContextRange)
Dim samplingRate As Nullable(Of Single)
Dim roi As String
Dim layers As Nullable(Of Integer)
 
Dim instance As ViewWindowFields(frameSize, roundingDirection, offset, regionSize, components, codeStreamList, codestreamContext, samplingRate, roi, layers)
C++/CLI 
public:
ViewWindowFields( 
   Size frameSize,
   RoundingDirection roundingDirection,
   Point offset,
   Size regionSize,
   array<Range^>^ components,
   List<SampleRange>^ codeStreamList,
   List<ContextRange>^ codestreamContext,
   Nullable<float> samplingRate,
   String^ roi,
   Nullable<int> layers
)

Parameters

frameSize
The Size of the requested image resolution size.
roundingDirection
A RoundingDirection value that specifies how to select an available codestream image resolution for each requested codestream.
offset
Identifies the upper left hand corner (offset) of the spatial region associated with the requested view window.
regionSize
Identifies the horizontal and vertical extent (size) of the spatial region associated with the requested view window.
components
Identifies the image components that are to be included in the requested view window.
codeStreamList
Identifies which codestream or codestreams belong to the requested view window.
codestreamContext
Requests codestreams indirectly via "higher level" image entities.
samplingRate
Specifies the sampling rate of the requested codestreams.
roi
Specifies the desired spatial region of the image through a name rather than through coordinates.
layers
Restricts the number of codestream quality layers that belong to the view-window request.

Example

For an example, refer to HttpRequestEncoder.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Jpip requires a JPIP Module and a server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features